package client.core.controller;

import client.core.ChatClient;
import client.output.gui.controller.AChatController;

public class ChatController extends AChatController{

	private ChatClient client;
	
	public ChatController(String username) {
		client = new ChatClient(this, username);
	}

	@Override
	public void handleSend() {
		String message = window.getInput();	
		client.sendMessage(message);
	}
}
